import { axios } from '@/utils/request'

export function getLevelList (parameter) {
  return axios({
    url: '/admin/level/level_list',
    method: 'get',
    data: parameter
  })
}

export function getAddLevel (parameter) {
  return axios({
    url: '/admin/level/add_level',
    method: 'post',
    data: parameter
  })
}
export function setLevelList (parameter) {
  return axios({
    url: '/admin/level/edit_level',
    method: 'post',
    data: parameter
  })
}

export function delLevel (parameter) {
  return axios({
    url: '/admin/level/del_level',
    method: 'post',
    data: parameter
  })
}
